//
// Created by 25238 on 2024-01-11.
//

#ifndef SELECTION_SORT_STUDENT_H
#define SELECTION_SORT_STUDENT_H

#include <iostream>
#include <string>

using namespace std;

struct Student{
    string name;
    int score;

    bool operator<(const Student& that)const{
        return score < that.score;
    }
    friend ostream& operator<<(ostream& os, const Student& stu){
        return os << "Student : " << stu.name << " " << stu.score << endl;
    }
};

#endif //SELECTION_SORT_STUDENT_H
